package User;

public abstract class User {
    protected String userName;
    protected int userID;
    protected String role;

    public User(String userName, int userID,String role) {
        this.userName = userName;
        this.userID = userID;
        this.role=role;
    }
    public abstract  int display();
    public String getName() {
        return userName;
    }

    public void setName(String name) {
        this.userName = name;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }
}
